package com.bbzn.device.client.service.emq.data;

import com.bbzn.device.client.service.EmqStrategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Author: wulongbo
 * @Date : 2021/4/9 11:20
 * @Version 1.0
 */
@Slf4j
@Component
public class EmqRebootStrategy implements EmqStrategy {
    // 立即重启设备
    @Override
    public String emqAction(String payLoad) {
        try {

        } catch (Exception e) {
            e.printStackTrace();
            return "立即重启设备失败！";
        }
        return "立即重启设备成功！";
    }

}
